home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
fish
/
676-700
/
676
/
fbm
/
fbm10man.zoo
/
MAN
/
fbmask.man
< prev
next >
Wrap
Text File
|
1990-12-18
|
2KB
|
67 lines
FBMASK(1) 25-Jun-90 FBMASK(1)
3
1mNAME
0mfbmask \- mask a rectangle in a grayscale file
1mSYNOPSIS
0mfbmask [ -<type> ] x0 y0 x1 y1 value < 8bit > 8bit
1mDESCRIPTION
0mPaints the specified gray value 3mval 0min a rectangle
starting at 3mx 0mand 3my 0mwith the given 3mwidth 0mand 3mheight.
0m1mEXAMPLE
0mTo put a 50 pixel wide black border around a 640 by 480
pixel grayscale image, you could use the following pipeline
(which outputs a Sun rasterfile):
% fbmask 0 0 50 480 0 < foo.8bit |
fbmask 0 0 640 50 0 < foo.8bit |
fbmask 0 430 640 480 0 < foo.8bit |
fbmask 590 0 640 480 0 < foo.8bit > bar.8bit
1mSEE ALSO
0mfbm(1) for general discussion, pbm(1) for PBM routines.
1mBUGS
0mNone known.
1mHISTORY
0mCopyright (C) 1989,1990 by Michael Mauldin. Permission is
granted to use this file in whole or in part for any
purpose, educational, recreational or commercial, provided
that this copyright notice is retained unchanged. This
software is available to all free of charge by anonymous FTP
and in the UUNET archives.
25-Jun-90 Michael Mauldin at Carnegie Mellon University
Release 1.0 mlmcs.cmu.edu
07-Mar-89 Michael L. Mauldin at Carnegie Mellon University
Beta release (version 0.9) mlmcs.cmu.edu
-1-